#include "pagelog.h"
#include "ui_pagelog.h"

PageLog::PageLog(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::PageLog)
{
    ui->setupUi(this);
}

PageLog::~PageLog()
{
    delete ui;

}

void PageLog::on_pushButton_2_clicked()
{
    //数据库查找用户名和密码


    //失败提示


    //成功进入主界面

    emit sendLoginSucess();

}


void PageLog::on_pushButton_clicked()
{
    //退出
    exit(0);
}

